package com.skivingcloud.develop.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import java.io.Serial;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 *  实体类。
 *
 * @author skivingcloud
 * @since 2025-01-13
 */
@Schema(description = "")
@Table("sys_business_designer_component")
public class SysBusinessDesignerComponent implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Schema(description = "主键")
    private String id;

    /**
     * 表单ID
     */
    @Schema(description = "表单ID")
    private String designerId;

    /**
     * 表单编码
     */
    @Schema(description = "表单编码")
    private String designerCode;

    /**
     * 组件ID
     */
    @Schema(description = "组件ID")
    private String componentId;

    /**
     * 组件编码
     */
    @Schema(description = "组件编码")
    private String componentCode;

    /**
     * 顺序
     */
    @Schema(description = "顺序")
    private Integer orderNum;

    /**
     * 组件定义的json数据
     */
    @Column(ignore = true)
    private String detailFormJson;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDesignerId() {
        return designerId;
    }

    public void setDesignerId(String designerId) {
        this.designerId = designerId;
    }

    public String getDesignerCode() {
        return designerCode;
    }

    public void setDesignerCode(String designerCode) {
        this.designerCode = designerCode;
    }

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId;
    }

    public String getComponentCode() {
        return componentCode;
    }

    public void setComponentCode(String componentCode) {
        this.componentCode = componentCode;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getDetailFormJson() {
        return detailFormJson;
    }

    public void setDetailFormJson(String detailFormJson) {
        this.detailFormJson = detailFormJson;
    }
}
